gtk4.git
9 years agopaned: Convert to indirect rendering
Timm Bäder [Sat, 29 Oct 2016 20:16:39 +0000 (22:16 +0200)]
paned: Convert to indirect rendering

9 years agopopover: convert to indirect rendering
Timm Bäder [Sat, 29 Oct 2016 17:43:49 +0000 (19:43 +0200)]
popover: convert to indirect rendering

9 years agoseparator: Convert to indirect rendering
Timm Bäder [Sat, 29 Oct 2016 17:27:22 +0000 (19:27 +0200)]
separator: Convert to indirect rendering

9 years agowidget: Remove damage-event
Timm Bäder [Sun, 30 Oct 2016 18:29:41 +0000 (19:29 +0100)]
widget: Remove damage-event

9 years agowidget: remove show-help
Timm Bäder [Sun, 30 Oct 2016 18:23:36 +0000 (19:23 +0100)]
widget: remove show-help

9 years agowidget: Remove app-paintable
Timm Bäder [Sun, 30 Oct 2016 16:01:19 +0000 (17:01 +0100)]
widget: Remove app-paintable

9 years agobuild: Clean the uninstalled introspection GIR files
Emmanuele Bassi [Mon, 31 Oct 2016 16:30:10 +0000 (16:30 +0000)]
build: Clean the uninstalled introspection GIR files

We need to remove them from the build when cleaning them.

Additionally, this automatically adds them to the Git ignore file.

9 years agogsk: Use GskRenderer.create_cairo_surface()
Emmanuele Bassi [Mon, 31 Oct 2016 16:28:09 +0000 (16:28 +0000)]
gsk: Use GskRenderer.create_cairo_surface()

GskRenderNode should ask the renderer for a Cairo surface when creating
a drawing context.

9 years agogsk: Add internal Renderer.create_cairo_surface()
Emmanuele Bassi [Mon, 31 Oct 2016 16:26:50 +0000 (16:26 +0000)]
gsk: Add internal Renderer.create_cairo_surface()

We need an overridable entry point for GskRenderer to create Cairo
surfaces.

Implementations of GskRenderer can override create_cairo_surface() to
create efficient surfaces, possibly with zero copies involved, depending
on the GDK backend.

9 years agogdk/Makefile.am: fixed glsl resources extra dist files.
Juan Pablo Ugarte [Fri, 28 Oct 2016 20:30:46 +0000 (17:30 -0300)]
gdk/Makefile.am: fixed glsl resources extra dist files.

Use the same wildcard partern used to generate gdk.gresource.xml to include files in EXTRA_DIST var.

9 years agobutton: show() the image in gtk_button_new_from_icon_name
Timm Bäder [Sat, 29 Oct 2016 20:05:18 +0000 (22:05 +0200)]
button: show() the image in gtk_button_new_from_icon_name

9 years agotests: Don't add wigets to a GtkInvisible
Timm Bäder [Sun, 30 Oct 2016 14:36:26 +0000 (15:36 +0100)]
tests: Don't add wigets to a GtkInvisible

It's not a GtkContainer.

9 years agobox: Use measure() to measure child sizes
Timm Bäder [Sat, 29 Oct 2016 14:35:16 +0000 (16:35 +0200)]
box: Use measure() to measure child sizes

9 years agobox: Mark out params of _query_packing as (optional)
Timm Bäder [Sat, 29 Oct 2016 14:16:49 +0000 (16:16 +0200)]
box: Mark out params of _query_packing as (optional)

9 years agosidebarrow: Use GtkButton:icon-name
Timm Bäder [Sat, 29 Oct 2016 13:51:17 +0000 (15:51 +0200)]
sidebarrow: Use GtkButton:icon-name

9 years agobox: Remove unused private API
Timm Bäder [Sat, 29 Oct 2016 13:50:53 +0000 (15:50 +0200)]
box: Remove unused private API

9 years agodialog: Let GtkButton manage its style classes
Timm Bäder [Sat, 29 Oct 2016 08:16:03 +0000 (10:16 +0200)]
dialog: Let GtkButton manage its style classes

A button created using gtk_button_new_with_label will already have the
text-button style class applied.

9 years agofilechooser: Use GtkButton's icon-name property
Timm Bäder [Sat, 29 Oct 2016 08:07:15 +0000 (10:07 +0200)]
filechooser: Use GtkButton's icon-name property

9 years agogsk: Fix return annotation for gsk_render_node_get_name()
Rico Tzschichholz [Sun, 30 Oct 2016 06:58:05 +0000 (07:58 +0100)]
gsk: Fix return annotation for gsk_render_node_get_name()

9 years agoUpdate POTFILES.in
Piotr Drąg [Sat, 29 Oct 2016 19:32:56 +0000 (21:32 +0200)]
Update POTFILES.in

9 years agoAPI: rendernode: Add gsk_render_node_get_name()
Benjamin Otte [Sat, 29 Oct 2016 16:08:11 +0000 (18:08 +0200)]
API: rendernode: Add gsk_render_node_get_name()

Make the debug string available to public API.

9 years agodisplay: Actually initialize variables
Benjamin Otte [Sat, 29 Oct 2016 16:06:24 +0000 (18:06 +0200)]
display: Actually initialize variables

Forgot to add this in d249e77bcb19c3981f750556809b48d406a027eb.

9 years agoAdwaita: add more padding to popover menus...
Lapo Calamandrei [Sat, 29 Oct 2016 15:34:49 +0000 (17:34 +0200)]
Adwaita: add more padding to popover menus...

...since Timm removed that from the actual code.

9 years agoRevert "Adwaita: add more padding to popovers"
Lapo Calamandrei [Sat, 29 Oct 2016 15:33:26 +0000 (17:33 +0200)]
Revert "Adwaita: add more padding to popovers"

Padding should be added back to menu popover only...
This reverts commit 670948586afbd3957dd9dbe28b3a5426270cd901.

9 years agoAdwaita: no rounded corners for solid-csd.
Lapo Calamandrei [Sat, 29 Oct 2016 15:18:58 +0000 (17:18 +0200)]
Adwaita: no rounded corners for solid-csd.

9 years agoAdwaita: add more padding to popovers
Lapo Calamandrei [Sat, 29 Oct 2016 15:14:07 +0000 (17:14 +0200)]
Adwaita: add more padding to popovers

...since Timm stole some.

9 years agoAPI: widget: Remove gtk_widget_is_composited()
Benjamin Otte [Sat, 29 Oct 2016 02:48:29 +0000 (04:48 +0200)]
API: widget: Remove gtk_widget_is_composited()

We don't need to clutter our API with functions that are easily
available elsewhere and effectively unused.

9 years agoAPI: screen: Remove gdk_screen_is_composited()
Benjamin Otte [Sat, 29 Oct 2016 02:37:20 +0000 (04:37 +0200)]
API: screen: Remove gdk_screen_is_composited()

Switch code to use gdk_display_is_composited() instead.

The new code also doesn't use a vfunc to query the property but rather
requires the backend to call set_composited()/set_rgba() to change the
value.

9 years agoAPI: widget: Remove GtkWidget::composited-changed signal
Benjamin Otte [Sat, 29 Oct 2016 01:25:06 +0000 (03:25 +0200)]
API: widget: Remove GtkWidget::composited-changed signal

Nobody uses it.

If you need the functionality, listen to display changes on
your widget and then connect to the display's notify::composited.

9 years agoinspector: Use the new APIs when displaying information
Benjamin Otte [Fri, 28 Oct 2016 23:06:05 +0000 (01:06 +0200)]
inspector: Use the new APIs when displaying information

9 years agoAPI: gdk: Add gdk_display_is_rgba() and gdk_display_is_composited()
Benjamin Otte [Fri, 28 Oct 2016 21:38:16 +0000 (23:38 +0200)]
API: gdk: Add gdk_display_is_rgba() and gdk_display_is_composited()

Also add properties for those two properties.

The first property is equivalent to checking if an RGBA visual exists,
the 2nd is equivalent to gdk_screen_is_composited().

9 years agoframe: Get the render node from the gadget
Timm Bäder [Fri, 28 Oct 2016 17:32:50 +0000 (19:32 +0200)]
frame: Get the render node from the gadget

So we get a proper css background etc. applied.

9 years agoFix clip of more windowed widgets
Timm Bäder [Fri, 28 Oct 2016 16:10:22 +0000 (18:10 +0200)]
Fix clip of more windowed widgets

9 years agoFix clip position of windowed widgets
Timm Bäder [Fri, 28 Oct 2016 15:55:13 +0000 (17:55 +0200)]
Fix clip position of windowed widgets

9 years agoUpdated Czech translation
Marek Černocký [Fri, 28 Oct 2016 15:07:54 +0000 (17:07 +0200)]
Updated Czech translation

9 years agomodelbutton: Convert to indirect rendering
Timm Bäder [Fri, 28 Oct 2016 14:29:51 +0000 (16:29 +0200)]
modelbutton: Convert to indirect rendering

9 years agocssgadget: Move gadgets to their allocated position
Timm Bäder [Fri, 28 Oct 2016 12:31:43 +0000 (14:31 +0200)]
cssgadget: Move gadgets to their allocated position

9 years agoswitch: Port to indirect rendering
Timm Bäder [Fri, 28 Oct 2016 11:42:11 +0000 (13:42 +0200)]
switch: Port to indirect rendering

9 years agotestframe: Fix css element name
Timm Bäder [Thu, 27 Oct 2016 12:04:44 +0000 (14:04 +0200)]
testframe: Fix css element name

9 years agoframe: Use measure() to measure label size
Timm Bäder [Thu, 27 Oct 2016 07:54:42 +0000 (09:54 +0200)]
frame: Use measure() to measure label size

9 years agostack: Use measure() to measure child widget
Timm Bäder [Thu, 27 Oct 2016 07:38:45 +0000 (09:38 +0200)]
stack: Use measure() to measure child widget

Simpler code this way \o/

9 years agocsswidgetnode: Fix container condition for GtkInvisible
Timm Bäder [Tue, 25 Oct 2016 14:52:27 +0000 (16:52 +0200)]
csswidgetnode: Fix container condition for GtkInvisible

... which is a toplevel, but not a container.

9 years agomenusectionbox: Remove margins
Timm Bäder [Mon, 24 Oct 2016 18:08:58 +0000 (20:08 +0200)]
menusectionbox: Remove margins

So the theme can add the spacing on its own.

9 years agoinspector: make use of GtkButton's icon-name property
Timm Bäder [Mon, 24 Oct 2016 18:03:27 +0000 (20:03 +0200)]
inspector: make use of GtkButton's icon-name property

9 years agotoggletoolbutton: Remove unneeded deprecation markers
Timm Bäder [Mon, 24 Oct 2016 09:45:21 +0000 (11:45 +0200)]
toggletoolbutton: Remove unneeded deprecation markers

9 years agoRevert "Convert GtkEntry to indirect rendering"
Matthias Clasen [Fri, 28 Oct 2016 10:47:26 +0000 (06:47 -0400)]
Revert "Convert GtkEntry to indirect rendering"

This reverts commit 8e29222d95449278d66f3e067d7dc1dcb7f6dcae.

This needs more work - spin buttons need to be converted at
the same time, and we should make sure that text still appears.

9 years agoGDK-Win32/4.0: Improve GL on Windows
Chun-wei Fan [Fri, 14 Oct 2016 11:04:49 +0000 (19:04 +0800)]
GDK-Win32/4.0: Improve GL on Windows

Update the GDKGL implementation:

-Allow legacy contexts to be created.
-Use finer-grained attributes to ask for a pixel format when possible,
 which also adds support for anti-aliasing

In fact the changes here are required for GTKGL to work properly on
Windows for 4.x.

Note that creation of gles contexts is not done here, as the system does
not support such contexts directly on Windows, but only through means such
as ANGLE, which is a totally different issue here.

https://bugzilla.gnome.org/show_bug.cgi?id=773528

9 years agoGDK/Win32: Deal with leftovers from removal of GdkWindow items
Chun-wei Fan [Fri, 28 Oct 2016 05:42:55 +0000 (13:42 +0800)]
GDK/Win32: Deal with leftovers from removal of GdkWindow items

We need to further remove items for the removal of:
-GdkWindow->depth (commit 6cc94ff)
-gdk_window_get_visual()/GdkWindow->visual (commit f420dc7)
-GDK visual query APIs (commit 45c0379)

https://bugzilla.gnome.org/show_bug.cgi?id=773299

9 years agoAPI: gdk: Remove visual querying APIs
Benjamin Otte [Fri, 28 Oct 2016 02:42:24 +0000 (04:42 +0200)]
API: gdk: Remove visual querying APIs

They are unused, only work on the default display anyway and visuals are
on their way out.

9 years agoAPI: gdk: Remove gdk_window_get_visual()
Benjamin Otte [Thu, 27 Oct 2016 21:27:49 +0000 (23:27 +0200)]
API: gdk: Remove gdk_window_get_visual()

With it, remove window->visual.

9 years agogdk: Remove GdkWindow.depth member variable
Benjamin Otte [Thu, 27 Oct 2016 14:24:42 +0000 (16:24 +0200)]
gdk: Remove GdkWindow.depth member variable

It's unused.

9 years agowindow: Add a GdkWindow:display property
Benjamin Otte [Thu, 27 Oct 2016 13:38:41 +0000 (15:38 +0200)]
window: Add a GdkWindow:display property

... and make it an explicit property of the window struct instead of
looking it up in the visual.

9 years agoConvert GtkEntry to indirect rendering
Matthias Clasen [Fri, 28 Oct 2016 00:46:08 +0000 (20:46 -0400)]
Convert GtkEntry to indirect rendering

Warning! This unveils some positioning issue with the secondary icon.

9 years agoConvert GtkIcon to indirect rendering
Matthias Clasen [Fri, 28 Oct 2016 00:27:34 +0000 (20:27 -0400)]
Convert GtkIcon to indirect rendering

9 years agodocs: more logical GtkEntry function order in the section file
Sébastien Wilmet [Thu, 27 Oct 2016 10:20:46 +0000 (12:20 +0200)]
docs: more logical GtkEntry function order in the section file

Trivial commit.

Group related functions together. Most of the functions had already the
set -> get order, so keep that order.

9 years agodocs: consistent get/set function order for GtkScrolledWindow
Sébastien Wilmet [Thu, 27 Oct 2016 10:05:37 +0000 (12:05 +0200)]
docs: consistent get/set function order for GtkScrolledWindow

Trivial commit.

For all the other GtkScrolledWindow functions, the order was get -> set.
Except for 3 functions, so fix that.

9 years agoMSVC builds: Simplify "install" property sheet
Chun-wei Fan [Thu, 27 Oct 2016 06:27:21 +0000 (14:27 +0800)]
MSVC builds: Simplify "install" property sheet

Use a for loop to loop through the icon sizes to copy them.

9 years agogtk+-4.0.pc: Make sure to add requirements for Gsk (e.g. graphene-1.0)
Rico Tzschichholz [Thu, 27 Oct 2016 06:16:57 +0000 (08:16 +0200)]
gtk+-4.0.pc: Make sure to add requirements for Gsk (e.g. graphene-1.0)

9 years agoMSVC builds: Make the GSK project functional
Chun-wei Fan [Thu, 27 Oct 2016 06:13:42 +0000 (14:13 +0800)]
MSVC builds: Make the GSK project functional

Add the needed custom build steps to generate the GResource and
enumeration sources that is needed for the build, and make sure that the
build is able to find the Graphene headers and lib.

Also add the necessary CFLAGS needed for building GSK.

9 years agoMSVC builds: Fix previous patch on .sln file
Chun-wei Fan [Thu, 27 Oct 2016 06:11:14 +0000 (14:11 +0800)]
MSVC builds: Fix previous patch on .sln file

We need to change the filenames of the .vcxproj project files as well,
oops.

9 years agogtk+-4.0.pc: Drop rogue refererene to non-existing gdk-4.0.pc
Rico Tzschichholz [Thu, 27 Oct 2016 06:12:20 +0000 (08:12 +0200)]
gtk+-4.0.pc: Drop rogue refererene to non-existing gdk-4.0.pc

9 years agobuild/win32/vs12/gtk4-gen-srcs.props: Fix XML reference URL
Chun-wei Fan [Thu, 27 Oct 2016 04:27:04 +0000 (12:27 +0800)]
build/win32/vs12/gtk4-gen-srcs.props: Fix XML reference URL

Visual Studio can be picky about this, causing projects not to load.

9 years agoVisual Studio projects: Rename tools to become gtk4-*
Chun-wei Fan [Thu, 27 Oct 2016 04:22:53 +0000 (12:22 +0800)]
Visual Studio projects: Rename tools to become gtk4-*

This follows what happens in the autotools builds.

Also fix some project namespaces and the install project where there is a typo
in a project dep, which may cause a problem during the build.

9 years agox11: Remove code that temporarily unsets the background
Benjamin Otte [Thu, 27 Oct 2016 04:37:02 +0000 (06:37 +0200)]
x11: Remove code that temporarily unsets the background

We don't set a background anymore, so we don't need to temporarily unset
it.

9 years agoinspector: Don't connect to nonexisting signal
Benjamin Otte [Thu, 27 Oct 2016 04:14:01 +0000 (06:14 +0200)]
inspector: Don't connect to nonexisting signal

The GdkScreen::size-changed signal was removed a while ago.

And because signal changes don't trip the compiler, there are always
leftovers...

9 years agogtk: Add back infrastructure for GTK_DEBUG=updates
Benjamin Otte [Wed, 26 Oct 2016 03:29:07 +0000 (05:29 +0200)]
gtk: Add back infrastructure for GTK_DEBUG=updates

Includes the ability to turn on updates in the inspector. Animations are
now run via a tick function which allows us to neatly overlay a
semi-transparent red rectangle and fade it out over time.

It also probably enables way more, but somebody with more UI neatness
than me needs to figure out what it eanbles first...

9 years agotreeview: Use gtk_widget_queue_draw()
Benjamin Otte [Tue, 25 Oct 2016 05:25:59 +0000 (07:25 +0200)]
treeview: Use gtk_widget_queue_draw()

9 years agotextview: Use gtk_widget_draw()
Benjamin Otte [Sat, 22 Oct 2016 02:59:15 +0000 (04:59 +0200)]
textview: Use gtk_widget_draw()

9 years agowidget: Use gtk_widget_queue_draw()
Benjamin Otte [Fri, 21 Oct 2016 03:00:58 +0000 (05:00 +0200)]
widget: Use gtk_widget_queue_draw()

9 years agoscrolledwindow: Use gtk_widget_queue_draw()
Benjamin Otte [Thu, 20 Oct 2016 16:46:27 +0000 (18:46 +0200)]
scrolledwindow: Use gtk_widget_queue_draw()

9 years agopaned: Use gtk_widget_queue_draw()
Benjamin Otte [Thu, 20 Oct 2016 15:33:33 +0000 (17:33 +0200)]
paned: Use gtk_widget_queue_draw()

9 years agomenu: Remove unneeded invalidations
Benjamin Otte [Wed, 19 Oct 2016 20:46:57 +0000 (22:46 +0200)]
menu: Remove unneeded invalidations

The gadgets should take care of those themselves

9 years agonotebook: Use gtk_widget_queue_draw()
Benjamin Otte [Wed, 19 Oct 2016 20:46:47 +0000 (22:46 +0200)]
notebook: Use gtk_widget_queue_draw()

9 years agogtk: Remove gdk_window_invalidate() from docs
Benjamin Otte [Wed, 19 Oct 2016 20:33:26 +0000 (22:33 +0200)]
gtk: Remove gdk_window_invalidate() from docs

And replace its mentions with gtk_widget_queue_draw().

9 years agotoolitemgroup: Use gtk_widget_queue_draw()
Benjamin Otte [Wed, 19 Oct 2016 20:27:43 +0000 (22:27 +0200)]
toolitemgroup: Use gtk_widget_queue_draw()

9 years agoiconview: Use gtk_widget_queue_draw()
Benjamin Otte [Wed, 19 Oct 2016 20:17:50 +0000 (22:17 +0200)]
iconview: Use gtk_widget_queue_draw()

9 years agoexpander: Remove unnecessary redraws
Benjamin Otte [Wed, 19 Oct 2016 20:05:20 +0000 (22:05 +0200)]
expander: Remove unnecessary redraws

9 years agodrawingarea: Clarify docs
Benjamin Otte [Wed, 19 Oct 2016 16:18:31 +0000 (18:18 +0200)]
drawingarea: Clarify docs

Don't use gdk_window_invalidate(), use gtk_widget_queue_draw().

9 years agowidget: Redo how gtk_widget_queue_draw() works
Benjamin Otte [Tue, 18 Oct 2016 17:43:32 +0000 (19:43 +0200)]
widget: Redo how gtk_widget_queue_draw() works

Before, we would immediately invalidate the GdkWindow of the widget, now
we call the parent's GtkWidgetClass.queue_draw_child() function.
This allows the parent to track redraw queueing of children.

By default GtkWidgetClass.queue_draw_child() will again chain up to its
parent while respecting the GdkWindow hierarchy for clipping.
GtkWindow is then the only widget actually invalidating the GdkWindow.

This essentially moves redraw queueing from GDK to GTK.

9 years agowidget: Inline function into only caller
Benjamin Otte [Tue, 18 Oct 2016 17:42:19 +0000 (19:42 +0200)]
widget: Inline function into only caller

... and remove all the checks that are not needed in this case.

9 years agogdk: Remove gdk_window_set_invalidate_handler()
Benjamin Otte [Wed, 26 Oct 2016 22:07:01 +0000 (00:07 +0200)]
gdk: Remove gdk_window_set_invalidate_handler()

It's not used anymore.

9 years agogdk: Add deprecation guards around deprecated function
Benjamin Otte [Wed, 26 Oct 2016 22:06:36 +0000 (00:06 +0200)]
gdk: Add deprecation guards around deprecated function

9 years agopixelcache: Remove
Benjamin Otte [Wed, 26 Oct 2016 21:46:51 +0000 (23:46 +0200)]
pixelcache: Remove

It's now unused.

9 years agotextview: Get rid of the pixel cache
Benjamin Otte [Wed, 26 Oct 2016 21:45:57 +0000 (23:45 +0200)]
textview: Get rid of the pixel cache

9 years agotreeview: Remove the pixel cache usage
Benjamin Otte [Wed, 26 Oct 2016 18:51:25 +0000 (20:51 +0200)]
treeview: Remove the pixel cache usage

9 years agoSpacing fixes for builtin dialogs
Matthias Clasen [Thu, 27 Oct 2016 00:58:07 +0000 (20:58 -0400)]
Spacing fixes for builtin dialogs

Replace border-width and padding by margins, in most places.

9 years agoMore gtk-demo spacing fixes
Matthias Clasen [Wed, 26 Oct 2016 19:11:18 +0000 (15:11 -0400)]
More gtk-demo spacing fixes

9 years agogtk-demo: Start to fix up the spacing
Matthias Clasen [Wed, 26 Oct 2016 19:03:04 +0000 (15:03 -0400)]
gtk-demo: Start to fix up the spacing

Replace some cases of lost border-width with margins.

9 years agoFix widget-factory appearance, a bit
Matthias Clasen [Wed, 26 Oct 2016 18:42:11 +0000 (14:42 -0400)]
Fix widget-factory appearance, a bit

Use margins instead of border-width, for now.

9 years agocolor chooser: Fix a problem with show-editor=TRUE
Matthias Clasen [Wed, 26 Oct 2016 18:28:17 +0000 (14:28 -0400)]
color chooser: Fix a problem with show-editor=TRUE

For some reason we end up allocating the colorplane widget
before it is realized, and then never initialize the surface.

Fix this by explicitly doing it on realize.

https://bugzilla.gnome.org/show_bug.cgi?id=773474

9 years agoapplicationwindow: Fix issues with measure vfunc transition
Benjamin Otte [Wed, 26 Oct 2016 15:59:33 +0000 (17:59 +0200)]
applicationwindow: Fix issues with measure vfunc transition

9 years agoviewport: Remove pixelcache
Benjamin Otte [Wed, 26 Oct 2016 15:25:30 +0000 (17:25 +0200)]
viewport: Remove pixelcache

With the rework for GSK and queueing of redraws pending, the pixel cache
just gets in the way. So we remove it everywhere.

9 years agobuild: Update CLEANFILES
Emmanuele Bassi [Wed, 26 Oct 2016 15:10:35 +0000 (16:10 +0100)]
build: Update CLEANFILES

We use nodist for gir and typelib files, because we expect them to be
rebuilt.

9 years agobuild: Beautify the GIR post-processing
Emmanuele Bassi [Wed, 26 Oct 2016 14:58:23 +0000 (15:58 +0100)]
build: Beautify the GIR post-processing

Use AM_V_GEN to silence the command line output.

9 years agogsk: Add check on GL_MAX_TEXTURE_SIZE
Emmanuele Bassi [Wed, 26 Oct 2016 14:47:29 +0000 (15:47 +0100)]
gsk: Add check on GL_MAX_TEXTURE_SIZE

We should check (once) what's the maximum GL texture size and then use
that size to check when we create any GL texture, to avoid errors.

9 years agoFix the build
Matthias Clasen [Wed, 26 Oct 2016 14:45:04 +0000 (10:45 -0400)]
Fix the build

Copy-paste error.

9 years agoGdkWindow: Use the seat to enumerate devices
Matthias Clasen [Wed, 26 Oct 2016 10:21:39 +0000 (06:21 -0400)]
GdkWindow: Use the seat to enumerate devices

GdkDeviceManager is going away.

9 years agoquartz: Stop using gdk_device_manager_list_devices
Matthias Clasen [Wed, 26 Oct 2016 00:38:38 +0000 (20:38 -0400)]
quartz: Stop using gdk_device_manager_list_devices

The function has been deprecated.

9 years agox11: Stop using gdk_device_manager_list_devices
Matthias Clasen [Wed, 26 Oct 2016 00:38:05 +0000 (20:38 -0400)]
x11: Stop using gdk_device_manager_list_devices

The function has been deprecated.

9 years agobroadway: Stop using gdk_device_manager_list_devices
Matthias Clasen [Wed, 26 Oct 2016 00:37:35 +0000 (20:37 -0400)]
broadway: Stop using gdk_device_manager_list_devices

The function is deprecated.